package com.lk.xiteng.blog.entity;

import lombok.Data;
import org.springframework.data.annotation.Id;
import org.springframework.data.elasticsearch.annotations.Document;


import java.util.Date;

@Data
@Document(indexName = "xiteng",type = "blog")
public class Blog {
    @Id
    private String id;
    private String title;
    private String brief;
    private String author;
    private String content;
    private Date publishDate;
}
